/*    */ package com.qmsk.business.bussBill.depositPay.dao;
/*    */ 
/*    */ import com.qmsk.business.sys.basic.SupportDAO;
/*    */ import com.utils.gson.in.GsonHeadOneRow;
/*    */ import com.utils.gson.out.GsonEbRst;
/*    */ import java.sql.SQLException;
/*    */ import java.util.HashMap;
/*    */ import java.util.Map;
/*    */ 
/*    */ public class DepositPayDao extends SupportDAO
/*    */ {
/*    */   public GsonEbRst getGsonOfShopId(String shopId, Integer nPageIdx, Short nPageSize)
/*    */     throws SQLException
/*    */   {
/* 15 */     Map params = new HashMap();
/* 16 */     params.put("shopId", shopId);
/* 17 */     return getGsonOfParams("selectSqlOfShopId", "selectCountSqlOfShopId", 
/* 18 */       "selectJsonOfAll", params, nPageIdx, nPageSize);
/*    */   }
/*    */ 
/*    */   public GsonEbRst getGsonOfShopIdStId(Map<String, Object> params, Integer nPageIdx, Short nPageSize) throws SQLException
/*    */   {
/* 23 */     return getGsonOfParams("selectSqlOfShopId", "selectCountSqlOfShopId", 
/* 24 */       "selectJsonOfAll", params, nPageIdx, nPageSize);
/*    */   }
/*    */ 
/*    */   public int updateCheckedOfIds(Long userId, String userName, String id) throws SQLException
/*    */   {
/* 29 */     Object[] strParams = { userId, userName, id };
/* 30 */     return update("updateCheckedOfIds", strParams);
/*    */   }
/*    */ 
/*    */   public int updateBillPaidOfIds(String id, Object userId, Object userName) throws SQLException
/*    */   {
/* 35 */     Object[] strParams = { userId, userName, id };
/* 36 */     return update("updateBillPaidOfIds", strParams);
/*    */   }
/*    */ 
/*    */   public GsonEbRst getGsonOfBussId(Integer bussId) throws SQLException {
/* 40 */     Map params = new HashMap();
/* 41 */     params.put("bussId", bussId);
/* 42 */     return getGsonOfParams("selectSqlOfShopId", "selectJsonOfAll", params);
/*    */   }
/*    */ 
/*    */   public GsonHeadOneRow getGsonHeadOneRowOfBsbillIds(Long bissId) throws SQLException
/*    */   {
/* 47 */     Object[] params = { bissId };
/* 48 */     return getOneRowOfParams("selectPaidSqlOfBsbillIds", "selectPaidJsonOfBsbillIds", 
/* 49 */       params, Integer.valueOf(0), Short.valueOf((short) 1));
/*    */   }
/*    */ 
/*    */   public String getBussBillOfBillNo(String id) throws SQLException {
/* 53 */     Object[] params = { id };
/* 54 */     return queryForString("selectBillNo", params, null);
/*    */   }
/*    */ }

/* Location:           C:\Users\Administrator\Desktop\新建文件夹\WEB-INF\classes\
 * Qualified Name:     com.qmsk.business.bussBill.depositPay.dao.DepositPayDao
 * JD-Core Version:    0.5.3
 */